package com.bw.kotlinim.contract.register

import com.bw.kotlinim.contract.BasePresenter

class RegisterContract {
    interface Presenter : BasePresenter {
        fun register(username: String, password: String, confirmPassword: String)
    }

    interface View {
        fun onUserNameError()
        fun onPasswordError()
        fun onConfirmPasswordError()
        fun onStartRegister()
        fun onRegisterSuccess()
        fun onRegisterFailed(message:String?)
        fun onUserExist()//新增接口，用户已经注册
    }
}